<#assign _service="${model[2]}${service.suffix}" _service2="${model[2]?uncap_first}${service.suffix}"
	_to="${model[2]}${bean.suffix}" _qo="${model[2]}${query.suffix}" />
package ${model[1]}.${controller.packageName};

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import priv.peiwt.system.BaseService;
import priv.peiwt.system.web.SpringMvcWeb;

import ${model[1]}.${bean.packageName}.${_to};
import ${model[1]}.${query.packageName}.${_qo};
import ${model[1]}.${service.packageName}.${_service};

@Controller
@RequestMapping(${model[2]}${controller.suffix}.DIR)
public class ${model[2]}${controller.suffix} extends SpringMvcWeb<${_to}, ${_qo}> {
	/**请求路径 页面模板 静态资源路径 一致性*/
	public static final String DIR = "";
	@Autowired
	private ${_service} ${_service2};
	
	protected BaseService<${_to}, ${_qo}> service() {
		return ${_service2};
	}

	protected String dir() {
		return DIR;
	}

}
